# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
pkgname=cssmin
pkgver=0.2.0
pkgrel=1
pkgdesc="A Python port of the YUI CSS compression algorithm"
options="!check" # no tests
url="https://github.com/zacharyvoase/cssmin"
arch="noarch"
license="BSD-3-Clause AND MIT"
depends="python3"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/c/cssmin/cssmin-$pkgver.tar.gz"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
9422152578bf28cf7c3eb063c1f0dd3604a3d8fa73cd81cde09ae297ab27669126c230ef40a2e8c37083c1e781ab977554f9012e60979fe431ceb83d43452a9d  cssmin-0.2.0.tar.gz
"
